package com.backstage.entity;

import java.util.List;

/**
 * 角色实体类
 * @Project authority
 * @Package com.backstage.entity
 * @Data 2017/7/27下午 3:53.
 * @Aurhor 阮雪峰
 */
public class Role extends BaseEntity {
    private long role_id;
    private String name;
    private long creator;
    private User user;
    private String create_time;
    private String memo;
    private int status;//1可用2不可用
    private String update_time;
    private long editor;

    private List<Menu> menus;

    public List<Menu> getMenus() {
        return menus;
    }

    public void setMenus(List<Menu> menus) {
        this.menus = menus;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public long getRole_id() {
        return role_id;
    }

    public void setRole_id(long role_id) {
        this.role_id = role_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getCreator() {
        return creator;
    }

    public void setCreator(long creator) {
        this.creator = creator;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public long getEditor() {
        return editor;
    }

    public void setEditor(long editor) {
        this.editor = editor;
    }
}
